<?php
@session_start();
$PurviewLevel=2;
$CheckChannelID=0;  
$PurviewLevel_Others="yingxiao_card";

require("../../inc/common.inc.php");
require_once("../Admin_ChkPurview.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<TITLE>铭讯EOS网站后台管理</TITLE>
<Meta name="Keywords" Content="济南网站建设 济南网站制作 山东网站建设 济南铭讯软件有限公司">
<Meta name="Description" Content="济南网站制作：铭讯软件专业服务优秀企业，致力于网站建、设网站推广、网络营销一体的全访位网络服务商">
<link rel="stylesheet" href="../images/style.css" type="text/css">
</head>
<body> 
<?php
if($actions=="delpic"){
	if(!$id){
		$fun->popmassage("请选择要删除的图片","","popback");
		exit();
	}
	$pic=$db->getsingle("select faceurl from mx_vpp_card WHERE id='$id' $usersql");
	if ($pic!=""){@unlink("../../$webdb[updir]$pic");}
	//删除附件
	$db->excu("update mx_vpp_card set faceurl='' WHERE id='$id' $usersql");
	if ($gotourl==""){$gotourl="yx_hx_pic.php";}
	$url="yx_card.php?actions=modi&id=$id&gotourl=".url_encode($gotourl);
	jump2("操作成功",$url,1);
	exit();
}
elseif($actions=="isok")
{
	if(!$iddb&&!$id){
		$fun->popmassage("请选择要操作的信息","","popback");
		exit();
	}
	elseif(is_array($iddb))
	{
		foreach($iddb AS $key=>$value){
			$db->excu("UPDATE mx_vpp_card SET isok='1' WHERE id='$key'");
		}
	}elseif($id){
		$db->excu("UPDATE mx_vpp_card SET isok='1' WHERE id='$id'");
	}
	$url=$fromurl?$fromurl:$FROMURL;
	jump2("修改成功","$FROMURL",0);
	exit();
}
elseif($actions=="unisok")
{
	if(!$iddb&&!$id){
		$fun->popmassage("请选择要操作的信息","","popback");
		exit();
	}
	elseif(is_array($iddb))
	{
		foreach($iddb AS $key=>$value){
			$db->excu("UPDATE mx_vpp_card SET isok='0' WHERE id='$key'");
		}
	}elseif($id){
		$db->excu("UPDATE mx_vpp_card SET isok='0' WHERE id='$id'");
	}
	$url=$fromurl?$fromurl:$FROMURL;
	jump2("修改成功","$FROMURL",0);
	exit();
}
elseif($actions=="del"){
	if(!$iddb&&!$id){
		$fun->popmassage("请选择要操作的信息","","popback");
		exit();
	}
	elseif(is_array($iddb))
	{
		foreach($iddb AS $key=>$value){
			$db->excu("DELETE FROM mx_vpp_card WHERE id='$key' ");
		}
	}elseif($id){
		$db->excu("DELETE FROM mx_vpp_card WHERE id='$id' ");
	}
	$url=$fromurl?$fromurl:$FROMURL;
	jump2("操作成功",$url,1);
	exit();
}
elseif($actions=="orderid")
{
	foreach( $listdb AS $key=>$value){
		$db->excu("UPDATE mx_vpp_card SET orderid='$value' WHERE id='$key' ");
	}
	jump2("修改成功","$FROMURL",1);
	exit();
}
elseif($actions=="saveadd")
{
    if(trim($yname)==""){
		$fun->popmassage("姓名不能为空","","popback");
		exit();
    }
    if(trim($bumen)==""){
		$fun->popmassage("部门不能为空","","popback");
		exit();
    }
    if(trim($mobile)==""){
		$fun->popmassage("手机号码不能为空","","popback");
		exit();
    }
    if(trim($jieshao)==""){
		$fun->popmassage("业务介绍不能为空","","popback");
		exit();
    }
    if ($orderid==""){$orderid=666;}
	$file=$_FILES['faceurl'];
	if (!empty($file["name"])){
		$iname = date("YmdHis");
		$picType = get_kuo($file["name"]);
		if( !in_array(".".$picType,explode(" ",$webdb[upfileType])) )
		{
			showerr("你所上传的文件格式为:$filetype,而系统仅允许上传的文件格式为:$webdb[upfileType]",1);
		}


		if( !$groupdb[upfileMaxSize] && $webdb[upfileMaxSize] && ($webdb[upfileMaxSize]*1024)<$file["size"] )
		{
			showerr("你所上传的文件大小为:".($size/1024)."K,而系统仅允许上传的文件大小为:{$webdb[upfileMaxSize]}K",1);
		}

		$picPath = "../../{$webdb[updir]}/card/".date("Ym")."/".$iname.".".$picType;
		$img="card/".date("Ym")."/".$iname.".".$picType;
		movefile("","","../../{$webdb[updir]}/card/".date("Ym")."/");
		if(move_uploaded_file($_FILES['faceurl']['tmp_name'], $picPath))
		{
			chmod($picPath,0777);
		}else{
			echo "图片生成失败";
			exit();
		}	
	}
	
	
    $files=array(
        "yname"    =>$yname,
        "faceurl"  =>$img,
        "bumen"    =>$bumen,
        "mobile"   =>$mobile,
        "tel"      =>$tel,
        "email"    =>$email,
        "weixin"   =>$weixin,
        "qq"       =>$qq,
        "jieshao"  =>$jieshao,
        "homepage" =>$homepage,
        "jieshao"  =>$jieshao,
        "orderid"  =>$orderid,
        "isok"     =>$isok,
        "adddate"  =>date("Y-m-d H:i:s"),
        "addid"    =>$_SESSION['mxadmin']['userid']
    );
    $db->exe_insert("mx_vpp_card",$files);
	jump2("添加成功","yx_card.php");
	exit();
}
elseif ($actions=="savemodi"){
    $id=intval($id);
	if($id==0){
		$fun->popmassage("请选择要修改的信息","","popback");
		exit();
	}
    if(trim($yname)==""){
		$fun->popmassage("姓名不能为空","","popback");
		exit();
    }
    if(trim($bumen)==""){
		$fun->popmassage("部门不能为空","","popback");
		exit();
    }
    if(trim($mobile)==""){
		$fun->popmassage("手机号码不能为空","","popback");
		exit();
    }
    if(trim($jieshao)==""){
		$fun->popmassage("业务介绍不能为空","","popback");
		exit();
    }
    if ($orderid==""){$orderid=666;}
	$file=$_FILES['faceurl'];
	if (!empty($file["name"])){
		$iname = date("YmdHis");
		$picType = get_kuo($file["name"]);
		if( !in_array(".".$picType,explode(" ",$webdb[upfileType])) )
		{
			showerr("你所上传的文件格式为:$filetype,而系统仅允许上传的文件格式为:$webdb[upfileType]",1);
		}


		if( !$groupdb[upfileMaxSize] && $webdb[upfileMaxSize] && ($webdb[upfileMaxSize]*1024)<$file["size"] )
		{
			showerr("你所上传的文件大小为:".($size/1024)."K,而系统仅允许上传的文件大小为:{$webdb[upfileMaxSize]}K",1);
		}
		$picPath = "../../{$webdb[updir]}/face/".date("Ym")."/".$iname.".".$picType;
		$img="face/".date("Ym")."/".$iname.".".$picType;
		movefile("","","../../{$webdb[updir]}/face/".date("Ym")."/");
		if(move_uploaded_file($_FILES['faceurl']['tmp_name'], $picPath))
		{
			chmod($picPath,0777);
		}else{
			echo "图片生成失败";
			exit();
		}	
	}
	else{
		$img=$oldfaceurl;
	}
	
    $files=array(
        "yname"    =>$yname,
        "faceurl"  =>$img,
        "bumen"    =>$bumen,
        "mobile"   =>$mobile,
        "tel"      =>$tel,
        "email"    =>$email,
        "weixin"   =>$weixin,
        "qq"       =>$qq,
        "jieshao"  =>$jieshao,
        "homepage" =>$homepage,
        "jieshao"  =>$jieshao,
        "orderid"   =>$orderid,
        "isok"      =>$isok,
        "modidate"   =>date("Y-m-d H:i:s"),
        "modiid"     =>$_SESSION['mxadmin']['userid']
    );
    $db->exe_update("mx_vpp_card",$files,"id='$id'");

	if ($postdb[oldlogo]!=$img){
		@unlink("../$webdb[updir]/$postdb[oldlogo]");
	}
	if (trim($gotourl)==""){
	$gotourl=$FROMURL;
	}else{$gotourl=url_code($gotourl);}
	jump2("修改成功","$gotourl",1);
	exit();
}

require("../mx_head.php");?>
<div class="right">
<div class="gk">
			<div class="ti2 fl">微名片管理</div>
			<ul class="fr">
				<li><span class="c1"><?php $znum=$db->listcount("mx_vpp_card","");echo $znum;?></span><span>总条数</span></li>
				<li class="line"></li>
				<li><span class="c2"><?php $znum=$db->listcount("mx_vpp_card"," and isok='1'");echo $znum;?></span><span>已审核</span></li>
				<li class="line"></li>
				<li><span class="c3"><?php $znum=$db->listcount("mx_vpp_card"," and isok='0'");echo $znum;?></span><span>未审核</span></li>
			</ul>
			<div class="clear"></div>
</div>
<div class="height15"></div>

<?php
if ($actions=="add"){?>
<script language="javascript">
setFormName("form1");

function check_form1(){
  if (!CheckLength("yname","姓名")){
	return false;
  }
  if (!CheckLength("bumen","部门")){
	return false;
  }
  if (!CheckLength("mobile","手机")){
	return false;
  }else{
	  if(!CheckMobile("mobile")){
		return false;
	  }
  }
  if (!CheckLength("jieshao","业务介绍")){
	return false;
  }
  
  return true;
}
</script>
<div class="xm2">
<h1 class="fl">添加微名片</h1>
</div>
<div class="xm2_b">
<div class="height10"></div>
<table width='100%' cellspacing='1' cellpadding='5' class="table_southidc">
  <form name="form1" method="post" action="yx_card.php?actions=saveadd" onSubmit="return check_form1();" enctype="multipart/form-data">
    <tr class="list"> 
      <td width='20%' align="center">姓&nbsp;&nbsp;名：</td>
      <td colspan="2"> 
        <input type='text' name='yname' id="yname" value='<?php echo $rsdb["yname"]?>' size="50">      </td>
    </tr>
    <tr class="list"> 
      <td align="center">头&nbsp;&nbsp;像：</td>
      <td colspan="2"><input name="faceurl" id="faceurl" type="file" /></td>
    </tr>
    <tr class="list"> 
      <td align="center">部&nbsp;&nbsp;门：</td>
      <td colspan="2"><input class=mmcinb type='text' name='bumen' id="bumen" value='<?php echo $rsdb[bumen]?>' size='40'></td>
    </tr>
    <tr class="list"> 
      <td align="center">电&nbsp;&nbsp;话：</td>
      <td colspan="2"><input class=mmcinb type='text' name='tel' id="tel" value='<?php echo $rsdb[tel]?>' size='30'></td>
    </tr>
    <tr class="list"> 
      <td align="center">手&nbsp;&nbsp;机：</td>
      <td colspan="2"><input class=mmcinb type='text' name='mobile' id="mobile" value='<?php echo $rsdb[mobile]?>' size='30'></td>
    </tr>
    <tr class="list"> 
      <td align="center">邮&nbsp;&nbsp;箱：</td>
      <td colspan="2"><input class=mmcinb type='text' name='email' id="email" value='<?php echo $rsdb[email]?>' size='50'></td>
    </tr>
    <tr class="list"> 
      <td align="center">微信号：</td>
      <td colspan="2"><input class=mmcinb type='text' name='weixin' id="weixin" value='<?php echo $rsdb[weixin]?>' size='30'></td>
    </tr>
    <tr class="list"> 
      <td align="center">QQ&nbsp;号：</td>
      <td colspan="2"><input class=mmcinb type='text' name='qq' id="qq" value='<?php echo $rsdb[qq]?>' size='30'></td>
    </tr>
    <tr class="list"> 
      <td align="center">网&nbsp;&nbsp;址：</td>
      <td colspan="2"><input class=mmcinb type='text' name='homepage' id="homepage" value='<?php echo $rsdb[homepage]?>' size='30'></td>
    </tr>
    <tr class="list"> 
      <td align="center">介&nbsp;&nbsp;绍：</td>
      <td colspan="2"><textarea name="jieshao" id="jieshao" cols="70" rows="3"></textarea></td>
    </tr>
    <tr class="list"> 
      <td align="center">排&nbsp;&nbsp;序：</td>
      <td colspan="2"><input class=mmcinb type='text' name='orderid' value='666'></td>
    </tr>
    <tr class="list"> 
      <td align="center" height="30">状&nbsp;&nbsp;态：</td>
      <td colspan="2"> 
        <input type="radio" name="isok" value="1" checked="checked" class="input_check">
        已验证 
        <input type="radio" name="isok" value="0" class="input_check">
        未验证</td>
    </tr>
    <tr class="list"> 
      <td width='19%'></td>
      <td colspan="2"> <input class="button" type='submit' name='Submit' value='提交数据'></td>
    </tr>
  </form>
</table>
<div class="height10"></div>
</div>
<?php 
}
elseif ($actions=="modi"){
	$id=intval($id);
	$query="SELECT * FROM mx_vpp_card where id='$id' limit 1";
	$result=$db->excu($query);
	if ($db->num_rows($result)<=0){
		$fun->popmassage("请选择要修改的信息","","popback");
		exit();
	}

	$rsdb=$db->fetch_array($result);
	$rsdb[isok]=intval($rsdb[isok]);
	$isok[$rsdb[isok]]=" checked ";
	if ($gotourl==""){$gotourl=url_encode($_SERVER['HTTP_REFERER']);}
?>
<script language="javascript">
setFormName("form1");

function check_form1(){
  if (!CheckLength("yname","姓名")){
	return false;
  }
  if (!CheckLength("bumen","部门")){
	return false;
  }
  if (!CheckLength("mobile","手机")){
	return false;
  }
  if(!CheckMobile("mobile")){
  	return false;
  }
  if (!CheckLength("jieshao","业务介绍")){
	return false;
  }
  return true;
}
</script>
<div class="xm2">
<h1 class="fl">修改微名片</h1>
</div>
<div class="xm2_b">
<div class="height10"></div>
<table width='100%' cellspacing='1' cellpadding='5' class="table_southidc">
  <form name="form1"  id="form1" method="post" action="yx_card.php" onSubmit="return check_form1();" enctype="multipart/form-data">
    <tr class="list"> 
      <td width='20%' align="center">姓&nbsp;&nbsp;名：</td>
      <td colspan="2"> 
        <input type='text' name='yname' id="yname" value='<?php echo $rsdb["yname"]?>' size="50">      </td>
    </tr>
    <tr class="list"> 
      <td width='20%' align="center">头&nbsp;&nbsp;像：</td>
      <td colspan="2"><input name="faceurl" id="faceurl" type="file" /></td>
    </tr>
	<?php if(trim($rsdb[faceurl])!=""){?>
	<tr class="list">
	  <td align="right"></td>
	  <td><img src="<?php echo get_photourl($rsdb[faceurl]); ?>" height="140"><input type="hidden" name="oldfaceurl" id="oldfaceurl" value="<?php echo $rsdb["faceurl"];?>" />&nbsp;<a href="yx_card.php?actions=delpic&id=<?php echo $rsdb["id"]?>&gotourl=<?php echo $gotourl;?>">删除图片</a></td>
	</tr>
	<?php }?>
    <tr class="list"> 
      <td align="center">部&nbsp;&nbsp;门：</td>
      <td colspan="2"><input class=mmcinb type='text' name='bumen' id="bumen" value='<?php echo $rsdb[bumen]?>' size='40'></td>
    </tr>
    <tr class="list"> 
      <td align="center">电&nbsp;&nbsp;话：</td>
      <td colspan="2"><input class=mmcinb type='text' name='tel' id="tel" value='<?php echo $rsdb[tel]?>' size='30'></td>
    </tr>
    <tr class="list"> 
      <td align="center">手&nbsp;&nbsp;机：</td>
      <td colspan="2"><input class=mmcinb type='text' name='mobile' id="mobile" value='<?php echo $rsdb[mobile]?>' size='30'></td>
    </tr>
    <tr class="list"> 
      <td align="center">邮&nbsp;&nbsp;箱：</td>
      <td colspan="2"><input class=mmcinb type='text' name='email' id="email" value='<?php echo $rsdb[email]?>' size='50'></td>
    </tr>
    <tr class="list"> 
      <td align="center">微信号：</td>
      <td colspan="2"><input class=mmcinb type='text' name='weixin' id="weixin" value='<?php echo $rsdb[weixin]?>' size='30'></td>
    </tr>
    <tr class="list"> 
      <td align="center">QQ&nbsp;号：</td>
      <td colspan="2"><input class=mmcinb type='text' name='qq' id="qq" value='<?php echo $rsdb[qq]?>' size='30'></td>
    </tr>
    <tr class="list"> 
      <td align="center">网&nbsp;&nbsp;址：</td>
      <td colspan="2"><input class=mmcinb type='text' name='homepage' id="homepage" value='<?php echo $rsdb[homepage]?>' size='30'></td>
    </tr>
    <tr class="list"> 
      <td align="center">介&nbsp;&nbsp;绍：</td>
      <td colspan="2"><textarea name="jieshao" id="jieshao" cols="70" rows="3"><?php echo dvhtmlcode($rsdb[jieshao]) ?></textarea></td>
    </tr>
    <tr class="list"> 
      <td align="center">排&nbsp;&nbsp;序：</td>
      <td colspan="2"> 
        <input class=mmcinb type='text' name='orderid' value='<?php echo $rsdb["orderid"]?>'></td>
    </tr>
    <tr class="list"> 
      <td align="center" height="30">状&nbsp;&nbsp;态：</td>
      <td colspan="2"> 
        <input type="radio" name="isok" value="1" class="input_check" <?php echo $isok[1]?>>
        已验证 
        <input type="radio" name="isok" value="0" class="input_check" <?php echo $isok[0]?>>
        未验证</td>
    </tr>
    <tr class="list"> 
      <td></td>
      <td colspan="2"> 
        <input class="button" type='submit' name='Submit' value='提交数据'>
		<input type="hidden" name="id" value="<?php echo $rsdb[id] ?>">
		<input type="hidden" name="gotourl" value="<?php echo $gotourl?>">
		<input type="hidden" name="actions" value="savemodi">      </td>
    </tr>
  </form>
</table>
<div class="height10"></div>
</div>
<?php 
}
else{  
  $str="";
  $s="";
  if(empty($pageindex)){
      $pageindex=1;
  }
  $pagesize=15;
  if ($isok!=""){
  	$isok=intval($isok);
	$str.=" and isok='$isok' ";
	$s.="isok=$isok&";
  }
  
  if ($keyword!=""){
	$str.=" and yname like '%$keyword%' ";
	$s.="keyword=$keyword&";
  }
  
  if ($inputdate!=""){
	$str.=" and adddate >='$inputdate 00:00:00'  and adddate<='$inputdate 23:59:59'  ";
	$s.="inputdate=$inputdate&";
  }
  
  $table=" mx_vpp_card ";
  $order=" order by orderid asc, id desc";
  $column=" * ";
  $biaoid="id";
  $c=$db->listcount($table,$str);
  
  $list=$db->list1($pageindex,$pagesize,$table,$column,$str,$order,$biaoid);
?>
<div class="xm2">
<h1 class="fl">微名片管理</h1>
</div>
<div class="xm2_b" style="border-bottom:0px;">
<div class="t">
	<table width="100%" border="0" cellpadding="0" cellspacing="0">
	<tr>
	<td>
	<div class="an1"><a href="yx_card.php">所有信息</a></div>
	<div class="an2"><a href="yx_card.php?actions=add">添加新名片</a></div>
	<div class="an2"><a href="yx_card.php?isok=1">已审核</a></div>
	<div class="an2"><a href="yx_card.php?isok=0">未审核</a></div>
	</td>
	</tr>
	</table>
</div>
<div class="t">
<table border="0" cellpadding="0" cellspacing="1" class="search_from">
<form name="form2" action="yx_card.php" method="post">
 <tr>
   <td>&nbsp;关键字：</td><td><input name="keyword" type="text" id="keyword" value="" size="10" class="search_input"/></td>
  <td>&nbsp;发布日期：</td>
  <td><input name="inputdate" type="text" id="inputdate" value="" size="10" class="search_input">
	  <script language="javascript" type="text/javascript">
	  Calendar.setup({
	  	  inputField     :    "inputdate",
	  	  ifFormat       :    "%Y-%m-%d",
	  	  showsTime      :    false,
	  	  timeFormat     :    "24"
	  });
	  </script>
  </td>
  <td><select name="isok"><option value="">状态</option><option value="1">已审核</option><option value="0">未审核</option></select></td>
  <td><input type="submit" name="Submit3" value="搜索" class="button2" /></td>
  </tr>
</form>
</table>
</div>
</div>
<div class="xm2_b">
<div class="height10"></div>
<table width='100%' cellspacing='1' cellpadding='5' class="table_southidc">
  <form name="form1" method="post" action="yx_card.php">
    <tr> 
      <th width="5%" align="center">ID </th>
      <th width="10%" align="center">姓名</th>
      <th width="10%" align="center">部门</th>
      <th width="10%" align="center">电话</th>
      <th width="10%" align="center">微信</th>
      <th width="10%" align="center">排序</th>
      <th width="10%" align="center">状态</th>
      <th width="10%" align="center">操作</th>
    </tr>
<?php
  if (!is_array($list) or $c==0){
  echo "<tr class=\"list1\" height=30 onMouseOver=\"this.className='list2'\" onmouseout=\"this.className='list1'\"><td colspan=8><center>暂无信息</center></td></tr>";
  }
  else{
  for($i=0;$i<count($list);$i++){
		$list[$i][isok]=$list[$i][isok]?"<A HREF='?actions=unisok&id=".$list[$i][id]."' style='color:red;' title='取消审核'>已审核</A>":"<A HREF='?actions=isok&id=".$list[$i][id]."' style='color:blue;' title='审核通过'>未审核</A>";
?>
    <tr class="list" align="center"> 
      <td width='5%' align="center"><input type="checkbox" name="iddb[<?php echo $list[$i][id]?>]" value="<?php echo $list[$i][id]?>" class="input_check"></td>
      <td><?php echo $list[$i][yname]?></td>
      <td><?php echo $list[$i][bumen]?></td>
      <td><?php echo $list[$i][mobile]?></td>
      <td><?php echo $list[$i][weixin]?></td>
      <td><input type="text" name="listdb[<?php echo $list[$i][id] ?>]" size="7" value="<?php echo $list[$i]['orderid']?>"></td>
      <td><?php echo $list[$i][isok]?></td>
      <td>
	  <a href="yx_card.php?actions=modi&id=<?php echo $list[$i][id]?>">修改</a>&nbsp;&nbsp;
	  <a href="yx_card.php?actions=del&id=<?php echo $list[$i][id]?>" onClick="return confirm('确定要删除此信息吗?')">删除</a>
	  </td>
    </tr>
<?php
}
?>
<?php }?>
  <input type="hidden" name="actions" id="actions" value="" />
  </form>
</table>
<?php if ($c>0){?>
			<div class="height10"></div>
			<div class="do_div">
				<div class="l"><a href="javascript:CheckAll(document.form1,'all')">全选</a>&nbsp;<a href="javascript:CheckAll(document.form1,'')">反选</a><input type="hidden" name="jobs" value="0"></div>
				<div class="l2">
				选择操作：
				<a href="javascript:document.form1.actions.value='isok';document.form1.submit();">审核</a>
				<a href="javascript:document.form1.actions.value='unisok';document.form1.submit();">取消审核</a>
				<a href="javascript:if (confirm('确定要删除选中的信息吗?')){ document.form1.actions.value='del';document.form1.submit();}">删除选中信息</a>
				<a href="javascript:document.form1.actions.value='orderid';document.form1.submit();">提交处理排序</a>
				</div>
			</div>
<?php }?>
<?php
  if ($c>$pagesize){
?>
			<div class="clear"></div>
			<div class="pagination">
			<?PHP
			echo $db->ThePage_mxsoft($s,$pageindex,$c,$pagesize)
			?>
			</div>
			<div class="clear"></div>
			<div class="height10"></div>
<?php
	}
?>

<div class="height10"></div>
</div>
<script type="text/javascript" src="/mxsoft/js/jquerys-1.5.1.js"></script>
<script language="javascript">
$(document).ready(function(){  
	$(".table_southidc tr").mouseover(function(){   
	$(this).addClass("list2");}).mouseout(function(){   
	$(this).removeClass("list2");}) //移除该行的class   
	$(".table_southidc tr:even").addClass("list1");   
});   
</script> 
<?php
}
?>
<div class="clear"></div>
<div class="height10"></div>
</div>
<?php require("../mx_foot.php");?>
<div class="clear"></div>
<div class="height10"></div>
</body>
</html>
